package com.ktgj.customer.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class MallCartVO implements Serializable {
    /** 购物车主键 */
    private Long cartId;

    /** 商品主键 */
    private Long productId;

    /** 规格编号 */
    @Excel(name = "规格编号")
    private Long productSpecId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 简介 */
    @Excel(name = "简介")
    private String introduce;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgPath;

    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal salePrice;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal memberPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Long number;

    /** 库存量 */
    @Excel(name = "库存量")
    private Integer stockCount;

    /** 是否下架 */
    @Excel(name = "是否下架")
    private boolean offTheShelf;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    public Long getCartId() {
        return cartId;
    }

    public void setCartId(Long cartId) {
        this.cartId = cartId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(BigDecimal memberPrice) {
        this.memberPrice = memberPrice;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getProductSpecId() {
        return productSpecId;
    }

    public void setProductSpecId(Long productSpecId) {
        this.productSpecId = productSpecId;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public boolean isOffTheShelf() {
        return offTheShelf;
    }

    public void setOffTheShelf(boolean offTheShelf) {
        this.offTheShelf = offTheShelf;
    }
}
